package com.cjx.stars.pojo.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;

/**
 * @author cjx
 * @description websocket返回类
 * @createDate 2024/4/13 17:05
 **/
@Data
@ApiModel(value = "websocket返回")
public class WebSocketVO implements Serializable {

    @Serial
    private static final long serialVersionUID = 4696612253320270315L;

    @ApiModelProperty(value = "id")
    private Long userId;

    /**
     * 用户昵称
     */
    @ApiModelProperty(value = "用户昵称")
    private String username;

    /**
     * 账号
     */
    @ApiModelProperty(value = "用户账号")
    private String userAccount;

    /**
     * 用户头像
     */
    @ApiModelProperty(value = "用户头像")
    private String avatarUrl;

}